﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NetCoreCMS.Models
{
    /// <summary>
    /// 直销系统专用字段
    /// </summary>
    public partial class Users
    {
        /// <summary>
        /// 系统用id
        /// </summary>
        public int user_id { get; set; }
        /// <summary>
        /// 直推人 user_id
        /// </summary>
        public int pid { get; set; } = 0;
        /// <summary>
        /// 接点人 user_id
        /// </summary>
        public int iid { get; set; } = 0;
        /// <summary>
        /// 层
        /// </summary>
        public int layer { get; set; } = 0;
        /// <summary>
        /// 直推人数
        /// </summary>
        public int direct_users { get; set; } = 0;
        /// <summary>
        /// 团队人数
        /// </summary>
        public int team_users { get; set; } = 0;
        /// <summary>
        /// 团队业绩
        /// </summary>
        public decimal team_point { get; set; } = 0;
        /// <summary>
        /// 现金额 可用amount代替
        /// </summary>
        public decimal cash_point { get; set; } = 0;
        /// <summary>
        /// 重消额 可用point代替
        /// </summary>
        public decimal shop_point { get; set; } = 0;
        /// <summary>
        /// 是否开通店0否，>0是
        /// </summary>
        public int is_shop { get; set; } = 0;
        /// <summary>
        /// 锁定
        /// </summary>
        public int is_lock { get; set; } = 0;
        /// <summary>
        /// 有资金
        /// </summary>
        public int is_jiangjin { get; set; } = 0;
        /// <summary>
        /// 能分享吗
        /// </summary>
        public int is_share { get; set; } = 1;
        /// <summary>
        /// 是否审核过
        /// </summary>
        public int is_pass { get; set; } = 0;
        /// <summary>
        /// 级别备用
        /// </summary>
        public int level_id { get; set; } = 0;
        /// <summary>
        /// 是否空点位
        /// </summary>
        public int is_kong { get; set; } = 0;
        public DateTime? pass_time { get; set; }
        /// <summary>
        /// 我在1左区，还是2右区
        /// </summary>
        public int left_right { get; set; } = 1;
        public string bank_name { get; set; }
        public string bank_number { get; set; }
        /// <summary>
        /// 是否主播0否，1是
        /// </summary>
        public int is_live { get; set; } = 0;
    }
}
